<!doctype html>
<html>
<head>
  <title>NJEdit FAQ</title>
  <link rel="stylesheet" href="header.css" type="text/css">
  <link rel="stylesheet" href="faq.css" type="text/css">
</head>
<body>

<%
String title = "NJEdit FAQ";
boolean isFaq = true;
%>
<%@ include file="header.inc" %>

<b>Questions</b><br>

<a href="#no-matching-css-class">Why do I get "Error: No matching CSS class"
when I load a document in NJEdit?</a>

<br>

<a href="#google-account">Why do I need a Google Account in order to use NJEdit?</a>

<br>

<a href="#source-code">Where can I get the source code for NJEdit?</a>

<br>

<p id="no-matching-css-class" class="question">
Why do I get "Error: No matching CSS class" when I load a document in NJEdit?
</p>

<p>
In April 2010, Google released a
<a href="http://googledocs.blogspot.com/2010/04/new-google-docs.html">new
version of Google Docs</a>. Although this is a big improvement for ordinary Docs
users, the new version of Docs does not work with
<a href="http://code.google.com/apis/documents/">GData</a> quite the same way
it did before. 
</p>

<p>
Therefore, in order to use NJEdit, you must be using the <em>old</em> version
of Google Docs. To do so, visit your <a href="https://docs.google.com/settings">Google Docs settings</a>
and make sure that the
<b>Create new text documents using the latest version of the document editor</b>
option is <em>unchecked</em> as shown in the screenshot below:
</p>

<img src="docs-settings.png" width="927px" height="635px">

<p id="google-account" class="question">
Why do I need a Google Account in order to use NJEdit?
</p>

<p>
NJEdit uses <a href="http://www.google.com/google-d-s/tour1.html">Google Docs</a>
to store your data. This has the following advantages over storing your data
directly in <a href="http://code.google.com/appengine/">Google App Engine</a>
(which is what NJEdit runs on): 
</p>

<ul>
<li>Google Docs provides a useful UI for browsing the revision history of a document.
<li>If NJEdit falls short for you as an editor, or gets into a bad state, you
    can always open your file in Google Docs and edit it in there.
<li>Google is less likely to lose your data than NJEdit!
</ul>

<p id="source-code" class="question">
Where can I get the source code for NJEdit?
</p>

<p>
The source code for NJEdit is freely available on <a target="_blank"
    href="http://code.google.com/p/docbookeditor/">Google Code</a>.
It is written using a combination of JavaScript and Java and runs on Google App Engine.
Feel free to clone the Mercurial repository and adapt the editor for your own
needs.
</p>

<jsp:include page="analytics.jsp" />

</body>
</html>